var
	l,r:integer;
	c:char;
begin
	l:=0;
	r:=0;
	while not eoln do
	begin
		read(c);
		case c of
		'(':
			inc(l);
		')':
			inc(r);
		end;
	end;
	l:=l-r;
	if l>0 then
		writeln('Left')
	else if l=0 then
		writeln('Yes')
	else
		writeln('Right');
end.
